#!/usr/bin/python2.6

"""Client for the game store.

Includes various utility functiona that allow us to select games of
interest from the collection
"""

import game_store
import sys

def PrintGame(game):
  print game["objectname"]

def main(argv):

  store = game_store.GameStore()
  store.LoadFromFile("thepackrat.gamecsv")

  for game in store.FilterIterator([]):
    PrintGame(game)
  
if __name__ == "__main__":
  main(sys.argv)

  
